<%@ taglib prefix="stripes"
  uri="http://stripes.sourceforge.net/stripes.tld"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<stripes:useActionBean binding="/ManageProjectGroupEntity.action" 
  id="actionBean" />
<table align="left" height="100%" cellpadding="0" border="1">
  <%-- 
  <stripes:errors action="actionBean">
    <tr>
      <td style="color: red;" colspan="2"></td>
    </tr>
  </stripes:errors>
  --%>
  <c:choose>
    <c:when test="${empty actionBean.entity}">
      <tr>
        <th colspan="2">No Project Group Selected!</th>
      </tr>
    </c:when>
    <c:otherwise>
      <stripes:form
        beanclass="com.google.code.cisx.web.ManageProjectGroupActionBean">
        <stripes:hidden name="entity.id" value="${actionBean.entity.id}" />
        <stripes:hidden name="entity.objectVersion" value="${actionBean.entity.objectVersion}" />
        <tr>
          <td colspan="2">Edit Project Group below</td>
        </tr>
        <tr>
          <td><stripes:label name="lbl_name">Name:</stripes:label></td>
          <td><stripes:text name="entity.name"
            value="${actionBean.entity.name}" /></td>
        </tr>
        <tr>
          <td><stripes:label name="description">Description:</stripes:label>
          </td>
          <td><stripes:text name="entity.description"
            value="${actionBean.entity.description}" /></td>
        </tr>
        <tr>
          <td colspan="2"><stripes:submit name="Save" value="Save" /></td>
        </tr>
      </stripes:form>
    </c:otherwise>
  </c:choose>
</table>